package com.ljh.mapper;

import com.ljh.pojo.Billdefail;
import com.ljh.pojo.Billtable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljh.pojo.Footthebill;
import com.ljh.vo.BilltableVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘剑鸿
 * @since 2021-11-09
 */
@Repository
public interface BilltableMapper extends BaseMapper<Billtable> {
    int insertbill(Billtable billtable);
    List<Billtable> searchBill(@Param("billtableVo") BilltableVo billtableVo);
    List<Billtable> OutBill(@Param("id") Integer Billid);
    Billtable BillCi(@Param("id") Integer Billid);
    Billtable selectNumOne(@Param("BillNum") String BillNum);
    Billtable selectDinOne(@Param("BillNum") String BillNum);
    Footthebill selectfootOne(@Param("BillNum") String BillNum);
    int insetNum(Footthebill footthebill);

}
